package com.lcy.springtest.conf;

import com.lcy.springtest.bean.Person;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;
import org.springframework.context.annotation.PropertySource;

/**
 * @author lichenyang
 * @create 2021-04-19 3:48 下午
 */
//@Configuration
//@PropertySource(value = {"classpath:/test.properties"})
public class SetPropertiesValueConfig {

    @Primary
    @Bean
    public Person person(){
        return new Person();
    }

}
